<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>新经资讯后台管理</title>
	<link rel="stylesheet" type="text/css" href="../../static/admin/css/reset.css">
	<link rel="stylesheet" type="text/css" href="../../static/admin/css/main.css">
	<script type="text/javascript" src="../../static/admin/js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript" src="../../static/admin/js/jquery.form.min.js"></script>
	<script src="../../static/admin/tinymce/js/tinymce/tinymce.min.js"></script>
    <script src="../../static/admin/js/tinymce_setup.js"></script>
	<script src="../../static/admin/js/news_edit_detail.js"></script>
</head>
<body>
	<div class="breadcrub">
			当前位置：新闻管理>新闻版本编辑			
		</div>
		<div class="pannel">
			<form class="news_edit" method="post" enctype="multipart/form-data">
                <input type='hidden' name='csrf_token' value='{{csrf_token()}}'>
                <input type="hidden" name="edit_news_id" value="{{ request_news.id }}">
			<h3 class="review_title">新闻版式编辑</h3>
	    	<div class="form_group">
	    		<label>新闻标题：</label>
	    		<input type="text" name="text" class="input_txt2" value="{{ request_news.title }}">
	    	</div>
	    	<div class="form_group">
				<label>新闻分类：</label>
				<select name="option" class="sel_opt">
                    {% for category in category_s %}
                        <option value="{{ category.category }}">{{ category.category }}</option>
                    {% endfor %}
				</select>
			</div>
			<div class="form_group">
				<label>新闻摘要：</label>
				<textarea name="summary" class="input_multxt"> {{ request_news.summary }}</textarea>
			</div>
			<div class="form_group">
				<label>索引图片：</label>
                <img src="{{ request_news.image_url }}" alt="索引图片" name="summary" class="index_pic">
			</div>
			<div class="form_group">
				<label>上传图片：</label>
				<input type="file" name="new_image_url" class="input_file">
			</div>
			<div class="form_group">
				<label>新闻内容：</label>
				<div class="rich_wrap fl">
					<input class="input_area" id="rich_content" name="content" value="{{ request_news.body }}"></input>
				</div>
			</div>
			<div class="form_group indent_group line_top">
				<input type="submit" value="确定" class="confirm">
				<input type="button" value="取消" class="cancel" onclick="cancel()">
			</div>
			</form>	
		</div>

</body>
</html>